package com.yiyang.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yiyang.domain.po.BedDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yiyang.domain.vo.BedDetailsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.time.LocalDateTime;

/**
* @author itcast
* @description 针对表【bed_details】的数据库操作Mapper
* @createDate 2024-12-18 14:37:52
* @Entity com.yiyang.domain.po.BedDetails
*/
@Mapper
public interface BedDetailsMapper extends BaseMapper<BedDetails> {

    IPage<BedDetailsVo> selectBedDetailsPageByCondition(@Param("page") Page<BedDetailsVo> bedDetailsPage,@Param("customerName") String customerName,@Param("startDate") LocalDateTime startDate,@Param("endDate") LocalDateTime endDate,@Param("isDeleted") Integer isDeleted);
}




